import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'
import { BaseEntity } from './BaseEntity'
import { DateEntity } from './DateEntity'

@Entity({ name: 't_category' })
export class Role extends BaseEntity {
  @Column({ name: 'role_name', type: 'text', comment: '角色名称' })
  roleName: string

  @Column((type) => DateEntity)
  '': DateEntity
}
